翻訳と辞書
Words near each other
・ Gal Nir
・ Gal On
・ Gal operon
・ Gal Oya Dam
・ Gal Oya National Park
・ Gal Oya river
・ Gal Sapir
・ Gal Shish
・ Gal Sone
・ Gal Sun Ho Gaya
・ Gal Vihara
・ Gal Weinstein
・ Gal Yekutiel
・ Gal Young Un
・ Gal'ed
Gal's accurate tables
・ Gal*Gun
・ Gal, Azerbaijan
・ GAL-021
・ Gal-class submarine
・ GAL22V10
・ GAL3ST1
・ GAL3ST2
・ GAL3ST3
・ GAL3ST4
・ GAL4/UAS system
・ Gala
・ Gala (album)
・ Gala (apple)
・ GALA (Gay and Lesbian Acceptance)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Gal's accurate tables : ウィキペディア英語版
Gal's accurate tables
Gal's accurate tables is a method devised by Shmuel Gal to provide accurate values of special functions using a lookup table and interpolation. It is a fast and efficient method for generating values of functions like the exponential or the trigonometric functions to within last-bit
accuracy for almost all argument values without using extended precision arithmetic.
The main idea in Gal's accurate tables is a different tabulation for the special function being computed. Commonly, the range is divided into several subranges, each with precomputed values and correction formulae. To compute the function, look up the closest point and compute a correction as a function of the distance.
Gal's idea is to not precompute equally spaced values, but rather to perturb the points ''x'' so that both ''x'' and ''f''(''x'') are very nearly exactly representable in the chosen numeric format. By searching approximately 1000 values on either side of the desired value ''x'', a value can be found such that ''f''(''x'') can be represented with less than ±1/2000 bit of rounding error. If the correction is also computed to ±1/2000 bit of accuracy (which does not require extra floating-point precision as long as the correction is less than 1/2000 the magnitude of the stored value ''f''(''x''), ''and'' the computed correction is more than ±1/1000 of a bit away from exactly half a bit (the difficult rounding case), then it is known whether the exact function value should be rounded up or down.
The technique provides an efficient way to compute the function value to within ±1/1000 least-significant bit, i.e. 10 extra bits of precision. If this approximation is more than ±1/1000 of a bit away from exactly midway between two representable values (which happens all but 2/1000 of the time, i.e. 99.8% of the time), then the correctly rounded result is clear.
Combined with an extended-precision fallback algorithm, this can compute the correctly rounded result in very reasonable ''average'' time.
2/1000 (0.2%) of the time, a higher-precision function evaluation is required to resolve the rounding uncertainty, but this is infrequent enough that it has little effect on the average calculation time.
The problem of generating function values which are accurate to the last bit is known as the table-maker's dilemma.
==See also==

*Floating point
*Rounding


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Gal's accurate tables」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.